#source /home/work_nfs11/code/xlgeng/environment/miniconda/etc/profile.d/conda.sh
source /mnt/sfs/asr/.bashrc
#conda activate gxl_base


test_data_dir=/mnt/sfs/asr/test_data/test_sets_format_3000

dir="/mnt/sfs/asr/code/osum_xlgeng_3B/examples/wenetspeech/whisper/exp/epoch_3_7_LLM3Binstruct_5Ws2t"
ckpt_name="step_9999.pt"
train_config=conf/config_llm_huawei_instruct_3B_cosyvoice1-token.yaml

data_type="raw" # "shard_full_data"
lang=zh  # en zh
prompt_file=conf/prompt_config.yaml



# # -------------------format ----------------------------
#test_sets="public_test/roobo_100 caption_0107_vocalsound caption_0107_esc50"
#test_sets="${test_sets// /---}"
#gpu_id=0
#my_named_nohup special_${gpu_id}_${ckpt_name} bash gxl_decode/decode_common_gxl.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --lang $lang --prompt_file $prompt_file
#
#test_sets="public_test/kaggle_gender public_test/kaggle_age"
#test_sets="${test_sets// /---}"
#gpu_id=2
#my_named_nohup special_${gpu_id}_${ckpt_name} bash gxl_decode/decode_common_gxl.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --lang $lang --prompt_file $prompt_file
#
#test_sets="emotion public_test/aishell1_gender"
#test_sets="${test_sets// /---}"
#gpu_id=3
#my_named_nohup special_${gpu_id}_${ckpt_name} bash gxl_decode/decode_common_gxl.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --lang $lang --prompt_file $prompt_file


#test_sets="aslp_chat_test age public_test/AirBench_speech chat"
#test_sets="${test_sets// /---}"
#gpu_id=0
#my_named_nohup special_${gpu_id}_${ckpt_name} bash gxl_decode/decode_common_gxl.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --lang $lang --prompt_file $prompt_file

#test_sets="style caption_aslp_record"
#test_sets="${test_sets// /---}"
#gpu_id=5
#my_named_nohup special_${gpu_id}_${ckpt_name} bash gxl_decode/decode_common_gxl.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --lang $lang --prompt_file $prompt_file

test_sets="gender caption_aslp_record public_test/MER23_test public_test/MELD_test"
test_sets="aslp_chat_test"
test_sets="${test_sets// /---}"
gpu_id=1
bash gxl_decode/decode_common_gxl_for_only_X.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --lang $lang --prompt_file $prompt_file --train_config $train_config
# # # # ----------------format --------------------------------














# # # -------------------format for only X----------------------------
#test_sets="caption_0107_vocalsound caption_0107_esc50 public_test/roobo_100"
#test_sets="${test_sets// /---}"
#gpu_id=0
#my_named_nohup special_${gpu_id}_${ckpt_name}_only_X bash gxl_decode/decode_common_gxl_for_only_X.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --lang $lang --prompt_file $prompt_file
#
#test_sets="public_test/kaggle_gender public_test/kaggle_age"
#test_sets="${test_sets// /---}"
#gpu_id=2
#my_named_nohup special_${gpu_id}_${ckpt_name}_only_X bash gxl_decode/decode_common_gxl_for_only_X.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --lang $lang --prompt_file $prompt_file
#
#test_sets="emotion public_test/aishell1_gender"
#test_sets="${test_sets// /---}"
#gpu_id=3
#my_named_nohup special_${gpu_id}_${ckpt_name}_only_X bash gxl_decode/decode_common_gxl_for_only_X.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --lang $lang --prompt_file $prompt_file


#test_sets="aslp_chat_test age public_test/AirBench_speech chat"
#test_sets="${test_sets// /---}"
#gpu_id=0
#my_named_nohup special_${gpu_id}_${ckpt_name}_only_X bash gxl_decode/decode_common_gxl_for_only_X.sh --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --lang $lang --prompt_file $prompt_file

#test_sets="style Ali_near_test"
#test_sets="${test_sets// /---}"
#gpu_id=5
#my_named_nohup special_${gpu_id}_${ckpt_name}_only_X bash gxl_decode/decode_common_gxl_for_only_X.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --lang $lang --prompt_file $prompt_file

#test_sets="gender caption_aslp_record public_test/MER23_test public_test/MELD_test"
#test_sets="${test_sets// /---}"
#gpu_id=1
#my_named_nohup special_${gpu_id}_${ckpt_name}_only_X bash gxl_decode/decode_common_gxl_for_only_X.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --lang $lang --prompt_file $prompt_file

# # # ----------------format for only X----------

#  ----------------added tesk, 标点，方言， in gpu 6----------
#test_sets="dialect_test_new_add_2025_3_5"
#test_sets="${test_sets// /---}"
#gpu_id=6
#data_type="shard_full_data" # "shard_full_data"
#my_named_nohup special_${gpu_id}_${ckpt_name} bash gxl_decode/decode_common_gxl.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --lang $lang --prompt_file $prompt_file
#
#test_sets="punctuation_test_add_2025_3_5"
#test_sets="${test_sets// /---}"
#gpu_id=6
#data_type="shard_full_data" # "shard_full_data"
#my_named_nohup special_${gpu_id}_${ckpt_name} bash gxl_decode/decode_common_gxl.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --lang $lang --prompt_file $prompt_file

# test_sets=" Ali_near_test"
# test_sets="${test_sets// /---}"
# gpu_id=6
# data_type="raw" # "shard_full_data"
# my_named_nohup special_${gpu_id}_${ckpt_name} bash gxl_decode/decode_common_gxl.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --lang $lang --prompt_file $prompt_file

# --------------------added tesk, 标点，方言， in gpu 6 end----------